package com.usian.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "spring")
public class UserConfig {

   /* @Value("${spring.url}")
    private String userUrl;

    @Value("${spring.password}")
    private String password;*/


   private String url;
   private String password;

    public void setUrl(String url) {
        this.url = url;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
